<?php $form=$this->beginWidget('CActiveForm', array(
       'id'=>'event-form',
       'enableAjaxValidation'=>false,
        'htmlOptions'=>array(
            'class'=>'form-horizontal',
        ),              
)); ?>
   

<div class="row-fluid">
        <div class="span12">
                <!--PAGE CONTENT BEGINS-->

                <form class="form-horizontal" />
                
                                       
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Main title</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'main_title',array('size'=>60,'maxlength'=>255)); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'main_title'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Sub title</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'sub_title',array('size'=>60,'maxlength'=>255)); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'sub_title'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Description</label>

                                <div class="controls">
                                        <?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'description'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Location</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'location',array('size'=>60,'maxlength'=>255)); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'location'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Address</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'address',array('size'=>60,'maxlength'=>255)); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'address'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Contact</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'contact',array('size'=>60,'maxlength'=>255)); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'contact'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Start date</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'start_date'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'start_date'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Start time</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'start_time'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'start_time'); ?></span>
                                </div>
                        </div>
                                                               
                                                              
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Tag</label>

                                <div class="controls">
                                        <?php echo $form->textArea($model,'tag',array('rows'=>6, 'cols'=>50)); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'tag'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Map</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'map'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'map'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Category id</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'category_id'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'category_id'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Gallery id</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'gallery_id'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'gallery_id'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Event code</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'event_code',array('size'=>60,'maxlength'=>255)); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'event_code'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Priority</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'priority'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'priority'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Language id</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'language_id'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'language_id'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Created at</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'created_at'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'created_at'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Created by</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'created_by'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'created_by'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Updated at</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'updated_at'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'updated_at'); ?></span>
                                </div>
                        </div>
                                                               
                                               <div class="control-group">
                            <label class="control-label" for="form-field-2">Updated by</label>

                                <div class="controls">
                                        <?php echo $form->textField($model,'updated_by'); ?>
                                        <span class="help-inline"><?php echo $form->error($model,'updated_by'); ?></span>
                                </div>
                        </div>
                                                       
                
                        <div class="form-actions">
                                <button class="btn btn-info" type="submit">
                                        <i class="icon-ok bigger-110"></i>
                                        Submit
                                </button>

                                &nbsp; &nbsp; &nbsp;
                                <button class="btn" type="reset">
                                        <i class="icon-undo bigger-110"></i>
                                        Reset
                                </button>
                        </div>

                </form>

                <!--PAGE CONTENT ENDS-->
        </div><!--/.span-->
</div><!--/.row-fluid-->

<?php $this->endWidget(); ?>
